{% extends "WebMainSiteBundle:School:home_layout.html.twig" %}
{% set title = school.name %}
{% block title %}
    {{ title }}
{% endblock %}
 {% block school_home_main %}
     <header>
         <p class="blog-img"><img src="{{ asset(school.logo) }}" alt="{{ school.name }}" class="img-rounded" /></p>
         <p class="blue-box blog-params">
             {#<span><i class="fa fa-calendar"></i> <time>January 10, 2013</time></span>#}
             <span class="text-orange"><i class="fa fa-user"></i> 合作教师：100</span>
             <span class="text-orange"><i class="fa fa-user"></i> 在学用户：5620</span>
             {#<span><i class="fa fa-tags"></i> <a href="blog-list.htm">Webdesign</a>, <a href="blog-list.htm">Inspiration</a></span>#}
             <span class="text-orange"><i class="fa fa-tasks"></i> 全部课程：1548</span>
             <span class="text-orange"><i class="fa fa-tags"></i> 课程笔记：15408</span>
         </p>
     </header>

     <!-- blog description - content -->
     <div class="blog-content">
         <p>{{ school.intro }}</p>
         <h2>Sub page</h2>
         <p>Before you choose us to take on your project you will probably want to know a bit more about us, so meet the team:</p>
     </div>
     <h2 class="yahei border_left">最新发布</h2>
     <div class="row">
         {% for i in 1..3 %}
             <article class="col-md-4 video-item">
                 <a href="video.htm" class="video-prev video-prev-small"></a>
                 <h3 class="video-title"><a href="video.htm">如何功课PHP中的各种结束难关</a></h3>
                 <div class="row video-params">
                     <div class="col-md-7">
                         讲师: <b>李自成</b>
                     </div>
                     <div class="col-md-5 text-right">
                         <b>102</b> <a href="#"><i class="fa fa-user"></i></a>
                     </div>
                 </div>
                 <div class="row video-params">
                     <div class="col-md-7">
                         更新: <b>09.01</b>
                     </div>
                     <div class="col-md-5 text-right">
                         <b>102</b> <a href="#"><i class="fa fa-heart"></i></a>
                     </div>
                 </div>
             </article>
         {% endfor %}
     </div>
     <h2 class="yahei border_left">一年级</h2>
     <div class="row">
         {% for i in 1..3 %}
             <article class="col-md-4 video-item">
                 <a href="video.htm" class="video-prev video-prev-small"></a>
                 <h3 class="video-title"><a href="video.htm">如何功课PHP中的各种结束难关</a></h3>
                 <div class="row video-params">
                     <div class="col-md-7">
                         讲师: <b>李自成</b>
                     </div>
                     <div class="col-md-5 text-right">
                         <b>102</b> <a href="#"><i class="fa fa-user"></i></a>
                     </div>
                 </div>
                 <div class="row video-params">
                     <div class="col-md-7">
                         更新: <b>09.01</b>
                     </div>
                     <div class="col-md-5 text-right">
                         <b>102</b> <a href="#"><i class="fa fa-heart"></i></a>
                     </div>
                 </div>
             </article>
         {% endfor %}
     </div>
{% endblock %}
{% block school_home_side %}
    <!-- Widget: Search -->
    <section class="widget search">
        <h2 class="yahei border_left">搜索课程</h2>
        <form action="blog-list.htm" class="search-blog" method="get" role="search">
            <input type="search" class="form-control input-lg" name="q" placeholder="search for something..." />
            <a href="#" class="submit"><i class="fa fa-search"></i></a>
        </form>
    </section>

    <!-- Widget: Gallery -->
    <section class="widget float-inside gallery">
        <h2 class="yahei">优秀导师</h2>
        <a href="img/800x600.gif" rel="prettyPhoto[gallery1]" title="MacBook pro"><img src="img/88x88.gif" class="img-rounded" alt="" /></a>
        <a href="img/800x600.gif" rel="prettyPhoto[gallery1]" title="People in work"><img src="img/88x88.gif" class="img-rounded" alt="" /></a>
        <a href="img/800x600.gif" rel="prettyPhoto[gallery1]" title="Apple hard drive"><img src="img/88x88.gif" class="img-rounded" alt="" /></a>
        <a href="img/800x600.gif" rel="prettyPhoto[gallery1]" title="Woman with laptop"><img src="img/88x88.gif" class="img-rounded" alt="" /></a>
        <a href="img/800x600.gif" rel="prettyPhoto[gallery1]" title="No music no fun"><img src="img/88x88.gif" class="img-rounded" alt="" /></a>
        <a href="img/800x600.gif" rel="prettyPhoto[gallery1]" title="Old analog camera"><img src="img/88x88.gif" class="img-rounded" alt="" /></a>
    </section>

    <!-- Widget: Categories -->
    <section class="widget category">
        <h2 class="yahei border_left">课程分类</h2>
        <nav>
            <ul>
                <li><a href="blog-list.htm"><i class="fa fa-play"></i>小学一年级语文题</a></li>
                <li><a href="blog-list.htm"><i class="fa fa-play"></i>小学一年级语文题</a></li>
                <li><a href="blog-list.htm"><i class="fa fa-play"></i>小学一年级语文题</a></li>
                <li><a href="blog-list.htm"><i class="fa fa-play"></i>小学一年级语文题</a></li>
            </ul>
        </nav>
    </section>

    <!-- Widget: Twitter -->
    <section class="widget twitter">
        <h2 class="yahei border_left">最新课程</h2>
        <article>
            <p class="author"><img src="" width="40" height="40"/>
                &nbsp;&nbsp;&nbsp;&nbsp;周老师
                {#<a href="http://goo.gl/cx6ZuM">钢铁是怎样炼成的</a>#}
            <p><a href="http://goo.gl/cx6ZuM" class="text-orange">[ 钢铁是怎样炼成的 ]</a> 这里是课程简介。这里是课程简介。这里是课程简介。这里是课程简介。这里是课程简介。这里是课程简介。这里是课程简介。</p>
            {#<time datetime="2014-01-22T22:11" class="cute-time">2014/01/22 22:11:19</time>#}
        </article>
    </section>

{% endblock %}